package com.example.xiaosuan.ziyuanfuyongpingtai;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class login extends AppCompatActivity implements View.OnClickListener {
    private TextView tv1;
    private Button bt1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.widettest);
        tv1 = findViewById(R.id.textView3);
        bt1 = findViewById(R.id.button3);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.button3:
                Intent intent = new Intent(login.this, qwe123.class);
                intent.putExtra("vl1", et.getText().toString());
                intent.putExtra("vl2", 3);
                startActivity(intent);

        }
    }
}
